<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SOP</title>
<link href="resources/styles/main.css" rel="stylesheet" type="text/css" />
<link type="text/css" href="resources/scripts/jquery-ui-1.8.14.custom/css/start/jquery-ui-1.8.14.custom.css" rel="stylesheet" />
<script type="text/javascript" src="resources/scripts/jquery-ui-1.8.14.custom/js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="resources/scripts/jquery-ui-1.8.14.custom/js/jquery-ui-1.8.14.custom.min.js"></script>
<script type="text/javascript" src="resources/scripts/jquery-ui-1.8.14.custom/js/jquery.blockUI.js"></script>
<script type="text/javascript" src="resources/scripts/datepicker-CN.js"></script>
<script type="text/javascript">

function checkFields()
{
	if($('#cdate').val()=='')
	{
		alert('请选择日期');
		return false;
	}
	return true;
}

function checkCount()
{
	for(var i=1; i<=12; i++)
	{
		var upper = 0;
		var lower = 0;
		$('.compare'+i+'-1').each(function(){
				upper += parseInt($(this).val());
		});
		$('.compare'+i+'-2').each(function(){
				lower += parseInt($(this).val());
		});
		if(upper != lower)
			return i;
	}
	return 0;
}

function resetStyle()
{
	for(var i=1; i<=12; i++)
	{
		$('.compare'+i+'-1').each(function(){
				$(this).css('background', '#FFF');
		});
		$('.compare'+i+'-2').each(function(){
				$(this).css('background', '#FFF');
		});
	}
}

$(document).ready(function(){
	
	
	var success = '<!--{$success}-->';
	if(success=='1')
		alert('提交成功');
	
	$('#dialogResetConfirm').dialog({ 
			autoOpen: false,
	 		model: true,
			buttons:
				{
					'是': function(){ $('#classDayForm')[0].reset(); $(this).dialog('close');},
					'否': function(){ $(this).dialog('close');}
				}
	})
	
	
	
	$( "#cdate" ).datepicker();
	
	$('.submitForm').click(function(){
		resetStyle();
		if(!checkFields())
		{
			return false;
		}
		var errnum = checkCount();
		if(errnum != 0)
		{
			alert('检测到有误数据，请返回提示颜色处检查');
			$('.compare'+errnum+'-1').css('background', '#f90');
			$('.compare'+errnum+'-2').css('background', '#f90');
			return false;
		}
		else
		{
			$('#classDayForm').submit();
			return true;
		}
	});
			
	$('#repwdMy').dialog({ 
	autoOpen: false,
	buttons: {
			"提交": function() {
					if(!checkUsername($('#oldpwdMy').val()))
					{
						$('#errMsgRepwdMy').html('密码不能为空');
						return;
					}
					if(!(checkUsername($('#repwdInputMy').val())))
					{
						$('#errMsgRepwdMy').html('密码不能为空');
						return;
					}
					if($('#repwdInputMy').val() != $('#repwdInputConfirmMy').val())
					{
						$('#errMsgRepwdMy').html('密码和确认密码不一致');
						return;
					}
					$('#errMsgRepwdMy').html('<span style="color: green;"></span>');
					$.post(
						'<!--{spUrl c=main a=changeMyPwd}-->',
						{
							'oldpwd': $('#oldpwdMy').val(),
							'pwd': $('#repwdInputMy').val(),
							'selectedUser' : "<!--{$user.id}-->"
						},
						function(data) {
							if(data == -1)
							{
								$('#errMsgRepwdMy').html('密码错误');
								return;
							}
							alert('密码修改成功');
							window.location.reload();
						}
					);
				},
			"关闭": function() {
					$(this).dialog('close');
				}
		}
	});
	
	$('.repwdLinkMy').click(function(){
		$('#repwdMy').dialog('open');
		return false;
	});
	
		
	$('.resetForm').click(function(){
		$('#dialogResetConfirm').dialog('open');
	});
	
	$("#cdate").change(function(){
			window.location.href="<!--{spUrl c=unit_class a=index}-->"+"&cdate="+$('#cdate').val();
	});
	
});
	
</script>

<style>
div.ui-datepicker{
 font-size:10px;
}
</style>

</head>

<body>

<div id="repwdMy" style="width: 320px; height: 240px; display:none;">
  <form method="POST">
    <table>
      <tr>
      	<td colspan="2"><span style="color: #900; " id="errMsgRepwdMy"></span></td>
      </tr>
      <tr>
        <td>旧密码：</td>
        <td><input id="oldpwdMy" type="password" name="oldpwdMy"/></td>
      </tr>
      <tr>
        <td>新密码：</td>
        <td><input id="repwdInputMy" type="password" name="repwdInputMy" /></td>
      </tr>
      <tr>
        <td>重复新密码：</td>
        <td><input id="repwdInputConfirmMy" type="password" name="repwdInputConfirmMy" /></td>
      </tr>
    </table>
  </form>
</div>
<div id="dialogResetConfirm" title="重置表单" style="display: none;">
	<p>是否要重置整个表单？（恢复填入之前的操作，并非清空表单。）</p>
</div>
<table width="100%" height="316" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="63" valign="top" background="resources/images//bgc10.gif" style="padding:30px 0px 0px 35px"><table width="93%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td bgcolor="#8ac281" class="b06"><!--{$school.schoolname}--><!--{$school.classname}--></td>
              <td><img src="resources/images//bgc11.gif" width="26" height="52" /></td>
            </tr>
        </table></td>
        <td align="right"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="23" align="right"><span class="b05"> 您好， </span><span class="b07"><!--{$school.classname}--></span><span class="b05"> 上次登录：</span><span class="b16"><!--{$user.last_login_date}--> </span><span class="b05">[<a href="<!--{spUrl c=main a=logout}-->">安全登出</a>]  [<a href="#" class="repwdLinkMy">密码修改</a>] </span></td>
            </tr>
            
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td background="resources/images//bgc02.gif"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px">
      <tr>
        <td height="40" colspan="2"><img src="resources/images//bgc05.gif" align="absmiddle" /><span class="b01">信息录入</span></td>
        </tr>
      <tr>
        <td width="56%" height="1" background="resources/images//bgc04.gif"></td>
        <td width="44%" background="resources/images//bgc04.gif"></td>
      </tr>
    </table>
  <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" background="resources/images//bgc08.gif" style="margin:25px auto 15px auto">
          <tr>
            <td height="32" style="padding-left:15px"><table border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table border="0" cellpadding="0" cellspacing="0" class="b02">
                    <tr>
                      <td><a href="#">班级·天活动</a></td>
                    </tr>
                </table></td>
                <td><table border="0" cellpadding="0" cellspacing="0" class="b03">
                    <tr>
                      <td><a href="<!--{spUrl c=unit_class a=term}-->">班级·综合</a></td>
                    </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table>
        <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td style="padding-left:15px"><span class="b05"><strong>班级·天活动</strong> 最后更新：</span><span class="b10">2011</span><span class="b05"> 年</span><span class="b10">12 </span><span class="b05">月</span><span class="b10">13</span><span class="b05"> 日</span></td>
            <td align="right" style="padding-left:15px"><a href="<!--{spUrl c=export_tables a=index}-->"><img src="resources/images//cj125.gif" align="absmiddle" /></a></td>
          </tr>
        </table>
        <form action="<!--{spUrl c=unit_class a=postDay}-->" method="POST" id="classDayForm">
        <table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:15px auto 25px auto">
          <tr>
            <td><img src="resources/images//ke15.gif" width="864" height="5" /></td>
          </tr>
          <tr>
            <td><table width="864" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#dfdfdf">
                <tr>
                  <td width="856" bgcolor="#FFFFFF"><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px">
                  	  <tr>
                      	<td>日期: <input id="cdate" name="cdate" value="<!--{$data.cdate}-->" type="text" readonly="readonly"></td>
                      </tr>
                      <tr>
                        <td height="40"><img src="resources/images//ico02.gif" align="absmiddle" /><span class="b10"><strong>A 思想政治教育 </strong></span></td>
                      </tr>
                      <tr>
                        <td height="1" background="resources/images//cj21.gif"></td>
                      </tr>
                    </table>
                      <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:15px auto 15px auto">
                        <tr>
                          <td width="43%" height="30" bgcolor="#FFFFFF"><table width="365" border="0" cellpadding="0" cellspacing="1" >
                            <tr>
                              <td height="25" colspan="2" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td width="5"><img src="resources/images//cj132.gif" /></td>
                                    <td bgcolor="#D0E7CD" class="b18">唱红歌</td>
                                    <td width="8"><img src="resources/images//cj131.gif" /></td>
                                  </tr>
                                </table></td>
                            </tr>
                            <tr>
                              <td width="80" height="25" align="center" class="b05">时段: </td>
                              <td width="296" height="25" align="center" class="b05">红歌名</td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b12">早自习:</td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="aa0" value="<!--{$data.aa0}-->"  type="text" class="b11" id="aa0" size="45" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b12">第一节:</td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="aa1" value="<!--{$data.aa1}-->"  type="text" class="b11" id="aa1" size="45" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b12">第二节:</td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="aa2" value="<!--{$data.aa2}-->"  type="text" class="b11" id="aa2" size="45" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b12">第三节:</td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="aa3" value="<!--{$data.aa3}-->"  type="text" class="b11" id="aa3" size="45" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b12">第四节:</td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="aa4" value="<!--{$data.aa4}-->"  type="text" class="b11" id="aa4" size="45" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b12">中午:</td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="aa5" value="<!--{$data.aa5}-->"  type="text" class="b11" id="aa5" size="45" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b12">第五节:</td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="aa6" value="<!--{$data.aa6}-->"  type="text" class="b11" id="aa6" size="45" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b12">第六节:</td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="aa7" value="<!--{$data.aa7}-->"  type="text" class="b11" id="aa7" size="45" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b12">晚餐:</td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="aa8" value="<!--{$data.aa8}-->"  type="text" class="b11" id="aa8" size="45" /></td>
                            </tr>
                          </table></td>
                          <td width="57%" valign="top" bgcolor="#FFFFFF"><table width="336" border="0" align="center" cellpadding="0" cellspacing="0" >
                            <tr>
                              <td width="84" height="30" align="right" bgcolor="#FFFFFF" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="5"><img src="resources/images//cj132.gif" /></td>
                                  <td bgcolor="#D0E7CD" class="b18">读经典</td>
                                  <td width="8"><img src="resources/images//cj131.gif" /></td>
                                </tr>
                              </table>
                              </td>
                              <td width="252" bgcolor="#FFFFFF" class="b15"><input name="ab0" value="<!--{$data.ab0}-->"  type="text" class="b11" id="ab0" size="25" />
                                <span class="b16">                                次</span></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="5"><img src="resources/images//cj132.gif" /></td>
                                  <td bgcolor="#D0E7CD" class="b18">讲故事</td>
                                  <td width="8"><img src="resources/images//cj131.gif" /></td>
                                </tr>
                              </table>
                              </td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="ab1" type="text" value="<!--{$data.ab1}-->"   class="b11" id="ab1" size="25" />
                                <span class="b16"> 次</span></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#FFFFFF" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="5"><img src="resources/images//cj132.gif" /></td>
                                  <td bgcolor="#D0E7CD" class="b18">传箴言</td>
                                  <td width="8"><img src="resources/images//cj131.gif" /></td>
                                </tr>
                              </table>
                              </td>
                              <td bgcolor="#FFFFFF" class="b15"><input name="ab2" type="text" value="<!--{$data.ab2}-->"   class="b11" id="ab2" size="25" />
                                <span class="b16"> 次</span></td>
                            </tr>

                          </table></td>
                        </tr>
                      </table>
                      <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px">
                        <tr>
                          <td height="40"><img src="resources/images//ico02.gif" align="absmiddle" /><span class="b10"><strong>B 人格品质教育</strong></span></td>
                        </tr>
                        <tr>
                          <td height="1" background="resources/images//cj21.gif"></td>
                        </tr>
                      </table>
                    <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:15px auto 15px auto">
                        <tr>
                          <td width="160" height="25" align="right" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="5"><img src="resources/images//cj132.gif" /></td>
                              <td bgcolor="#D0E7CD" class="b18">阅读提升</td>
                              <td width="8"><img src="resources/images//cj131.gif" /></td>
                            </tr>
                          </table>
                          </td>
                          <td width="201"><input name="b0" value="<!--{$data.b0}-->"   type="text" class="b11" id="b0" size="10" />
                            <span class="b16">本</span></td>
                          <td><span class="b12">共计: </span>
                            <input name="b1" value="<!--{$data.b1}-->"   type="text" class="b11" id="b1" size="10" />
                            <span class="b16">千字</span></td>
                        </tr>
                    </table>
                    <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px">
                        <tr>
                          <td height="40"><img src="resources/images//ico02.gif" align="absmiddle" /><span class="b10"><strong>C 心理情感教育</strong></span></td>
                        </tr>
                         <tr>
                          <td height="40"><span style="color: #060; font-weight: bold;">注意：电话、视频、书信的部分，没有的项目请键入"0"，才能成功提交</span></td>
                        </tr>
                        <tr>
                          <td height="1" background="resources/images//cj21.gif"></td>
                        </tr>
                    </table>
                    <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:15px auto 15px auto">
                      <tr>
                        <td width="48%" height="30" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td class="b07"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="5"><img src="resources/images//cj132.gif" /></td>
                                  <td bgcolor="#D0E7CD" class="b18">亲情电话</td>
                                  <td width="8"><img src="resources/images//cj131.gif" /></td>
                                </tr>
                              </table></td>
                          </tr>
                        </table>
                          <table border="0" cellpadding="0" cellspacing="1" >
                      <tr>
                              <td width="60" height="25" align="center" class="b05">对象</td>
                            <td width="50" height="25" align="center" class="b05">父母</td>
                            <td width="80" align="center" class="b05">兄弟姐妹</td>
                            <td width="80" align="center" class="b05">祖父祖母</td>
                            <td width="60" align="center" class="b05">其它</td>
                          </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">住宿</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca0_0" value="<!--{$data.ca0_0}-->"   type="text" class="b11 compare1-1" id="ca0_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca0_1" value="<!--{$data.ca0_1}-->"   type="text" class="b11 compare2-1" id="ca0_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca0_2" value="<!--{$data.ca0_2}-->"   type="text" class="b11 compare3-1" id="ca0_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca0_3" value="<!--{$data.ca0_3}-->"   type="text" class="b11 compare4-1" id="ca0_3" size="5" /></td>
                          </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">走读</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca1_0" value="<!--{$data.ca1_0}-->"   type="text" class="b11 compare1-1" id="ca1_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca1_1" value="<!--{$data.ca1_1}-->"  type="text" class="b11 compare2-1" id="ca1_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca1_2" value="<!--{$data.ca1_2}-->"  type="text" class="b11 compare3-1" id="ca1_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca1_3" value="<!--{$data.ca1_3}-->"  type="text" class="b11 compare4-1" id="ca1_3" size="5" /></td>
                          </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">留守</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca2_0" value="<!--{$data.ca2_0}-->"  type="text" class="b11 compare1-2" id="ca2_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca2_1" value="<!--{$data.ca2_1}-->"  type="text" class="b11 compare2-2" id="ca2_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca2_2" value="<!--{$data.ca2_2}-->"  type="text" class="b11 compare3-2" id="ca2_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca2_3" value="<!--{$data.ca2_3}-->"  type="text" class="b11 compare4-2" id="ca2_3" size="5" /></td>
                          </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">非留守</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca3_0" value="<!--{$data.ca3_0}-->"  type="text" class="b11 compare1-2" id="ca3_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca3_1" value="<!--{$data.ca3_1}-->"  type="text" class="b11 compare2-2" id="ca3_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca3_2" value="<!--{$data.ca3_2}-->"  type="text" class="b11 compare3-2" id="ca3_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="ca3_3" value="<!--{$data.ca3_3}-->"  type="text" class="b11 compare4-2" id="ca3_3" size="5" /></td>
                          </tr>

                        </table></td>
                        <td width="52%" valign="top" bgcolor="#FFFFFF"><table width="336" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td class="b07"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="5"><img src="resources/images//cj132.gif" /></td>
                                  <td bgcolor="#D0E7CD" class="b18">亲情视频</td>
                                  <td width="8"><img src="resources/images//cj131.gif" /></td>
                                </tr>
                              </table></td>
                          </tr>
                        </table>
                          <table width="336" border="0" align="center" cellpadding="0" cellspacing="1" >
                            <tr>
                              <td width="60" height="25" align="center" class="b05">对象</td>
                              <td width="50" height="25" align="center" class="b05">父母</td>
                              <td width="80" align="center" class="b05">兄弟姐妹</td>
                              <td width="80" align="center" class="b05">祖父祖母</td>
                              <td width="60" align="center" class="b05">其它</td>
                            </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">住宿</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb0_0" value="<!--{$data.cb0_0}-->"  type="text" class="b11 compare5-1" id="cb0_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb0_1" value="<!--{$data.cb0_1}-->"  type="text" class="b11 compare6-1" id="cb0_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb0_2" value="<!--{$data.cb0_2}-->"  type="text" class="b11 compare7-1" id="cb0_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb0_3" value="<!--{$data.cb0_3}-->"  type="text" class="b11 compare8-1" id="cb0_3" size="5" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">走读</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb1_0" value="<!--{$data.cb1_0}-->"  type="text" class="b11 compare5-1" id="cb1_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb1_1" value="<!--{$data.cb1_1}-->"  type="text" class="b11 compare6-1" id="cb1_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb1_2" value="<!--{$data.cb1_2}-->"  type="text" class="b11 compare7-1" id="cb1_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb1_3" value="<!--{$data.cb1_3}-->"  type="text" class="b11 compare8-1" id="cb1_3" size="5" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">留守</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb2_0" value="<!--{$data.cb2_0}-->"  type="text" class="b11 compare5-2" id="cb2_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb2_1" value="<!--{$data.cb2_1}-->"  type="text" class="b11 compare6-2" id="cb2_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb2_2" value="<!--{$data.cb2_2}-->"  type="text" class="b11 compare7-2" id="cb2_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb2_3" value="<!--{$data.cb2_3}-->"  type="text" class="b11 compare8-2" id="cb2_3" size="5" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">非留守</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb3_0" value="<!--{$data.cb3_0}-->"  type="text" class="b11 compare5-2" id="cb3_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb3_1" value="<!--{$data.cb3_1}-->"  type="text" class="b11 compare6-2" id="cb3_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb3_2" value="<!--{$data.cb3_2}-->"  type="text" class="b11 compare7-2" id="cb3_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cb3_3" value="<!--{$data.cb3_3}-->"  type="text" class="b11 compare8-2" id="cb3_3" size="5" /></td>
                            </tr>
                          </table></td>
                      </tr>
                    </table>
                    <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:15px auto 15px auto">
                      <tr>
                        <td width="48%" height="30" valign="top" bgcolor="#FFFFFF"><table width="336" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td class="b07"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="5"><img src="resources/images//cj132.gif" /></td>
                                  <td bgcolor="#D0E7CD" class="b18">亲情书信</td>
                                  <td width="8"><img src="resources/images//cj131.gif" /></td>
                                </tr>
                              </table></td>
                          </tr>
                        </table>
                          <table width="336" border="0" cellpadding="0" cellspacing="1" >
                            <tr>
                              <td width="60" height="25" align="center" class="b05">对象</td>
                              <td width="50" height="25" align="center" class="b05">父母</td>
                              <td width="80" align="center" class="b05">兄弟姐妹</td>
                              <td width="80" align="center" class="b05">祖父祖母</td>
                              <td width="60" align="center" class="b05">其它</td>
                            </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">住宿</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc0_0" value="<!--{$data.cc0_0}-->"  type="text" class="b11 compare9-1" id="cc0_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc0_1" value="<!--{$data.cc0_1}-->"   type="text" class="b11 compare10-1" id="cc0_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc0_2" value="<!--{$data.cc0_2}-->"   type="text" class="b11 compare11-1" id="cc0_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc0_3" value="<!--{$data.cc0_3}-->"   type="text" class="b11 compare12-1" id="cc0_3" size="5" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">走读</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc1_0" value="<!--{$data.cc1_0}-->"   type="text" class="b11 compare9-1" id="cc1_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc1_1" value="<!--{$data.cc1_1}-->"  type="text" class="b11 compare10-1" id="cc1_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc1_2" value="<!--{$data.cc1_2}-->"  type="text" class="b11 compare11-1" id="cc1_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc1_3" value="<!--{$data.cc1_3}-->"  type="text" class="b11 compare12-1" id="cc1_3" size="5" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">留守</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc2_0" value="<!--{$data.cc2_0}-->"  type="text" class="b11 compare9-2" id="cc2_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc2_1" value="<!--{$data.cc2_1}-->"  type="text" class="b11 compare10-2" id="cc2_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc2_2" value="<!--{$data.cc2_2}-->"  type="text" class="b11 compare11-2" id="cc2_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc2_3" value="<!--{$data.cc2_3}-->"  type="text" class="b11 compare12-2" id="cc2_3" size="5" /></td>
                            </tr>
                            <tr>
                              <td height="30" align="center" bgcolor="#FFFFFF">非留守</td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc3_0" value="<!--{$data.cc3_0}-->"  type="text" class="b11 compare9-2" id="cc3_0" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc3_1" value="<!--{$data.cc3_1}-->"   type="text" class="b11 compare10-2" id="cc3_1" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc3_2" value="<!--{$data.cc3_2}-->"   type="text" class="b11 compare11-2" id="cc3_2" size="5" /></td>
                              <td align="center" bgcolor="#FFFFFF"><input name="cc3_3" value="<!--{$data.cc3_3}-->"   type="text" class="b11 compare12-2" id="cc3_3" size="5" /></td>
                            </tr>
                          </table></td>
                        <td width="52%" valign="top" bgcolor="#FFFFFF"><table width="336" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td class="b07">&nbsp;</td>
                          </tr>
                        </table>
                          <table width="336" border="0" align="center" cellpadding="0" cellspacing="0" >
                          <tr>
                            <td width="102" height="30" align="right" bgcolor="#FFFFFF" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="5"><img src="resources/images//cj132.gif" /></td>
                                <td bgcolor="#D0E7CD" class="b18">代理家长</td>
                                <td width="8"><img src="resources/images//cj131.gif" /></td>
                              </tr>
                            </table></td>
                            <td width="254" bgcolor="#FFFFFF" class="b15"><span class="b12">互动:</span>
                              <input name="cd0" value="<!--{$data.cd0}-->"   type="text" class="b11" id="cd0" size="15" />
                              <span class="b16">人次</span></td>
                          </tr>
                          <tr>
                            <td height="30" align="right" bgcolor="#FFFFFF"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="5"><img src="resources/images//cj132.gif" /></td>
                                  <td bgcolor="#D0E7CD" class="b18">家访</td>
                                  <td width="8"><img src="resources/images//cj131.gif" /></td>
                                </tr>
                              </table></td>
                            <td bgcolor="#FFFFFF" class="b15"><span class="b12">新访: </span>
                              <input name="cd1" value="<!--{$data.cd1}-->"   type="text" class="b11" id="cd1" size="2" />
                              <span class="b16">人</span> 　回访:<span class="b12"> </span>
                              <input name="cd2" value="<!--{$data.cd2}-->"  type="text" class="b11" id="cd2" size="2" />
                            <span class="b16">人</span></td>
                          </tr>
                          <tr>
                            <td height="30" align="right" bgcolor="#FFFFFF" class="b12">&nbsp;</td>
                            <td bgcolor="#FFFFFF" class="b15">&nbsp;</td>
                          </tr>
                        </table></td>
                      </tr>
                    </table>
                    <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px">
                      <tr>
                        <td height="40" colspan="2"><img src="resources/images//ico02.gif" align="absmiddle" /><span class="b10"><strong>D 行为养成教育</strong></span></td>
                      </tr>
                      <tr>
                        <td width="100" height="1" background="resources/images//cj21.gif"></td>
                        <td background="resources/images//cj21.gif"></td>
                      </tr>
                    </table>
                    <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:15px auto 15px auto">
                      <tr>
                        <td width="100" height="30" align="right" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="5"><img src="resources/images//cj132.gif" /></td>
                            <td bgcolor="#D0E7CD" class="b18">晨练 </td>
                            <td width="8"><img src="resources/images//cj131.gif" /></td>
                          </tr>
                        </table>
                        </td>
                        <td width="222">应到
                          <input name="d0" value="<!--{$data.d0}-->"  type="text" class="b11" id="d0" size="10" />
                          <span class="b16">                          人</span></td>
                        <td width="232">迟到
                          <input name="d1" value="<!--{$data.d1}-->"  type="text" class="b11" id="d1" size="10" />
                          <span class="b16">人</span></td>
                        <td width="173">未到
                          <input name="d2" value="<!--{$data.d2}-->"  type="text" class="b11" id="d2" size="10" />
                          <span class="b16">人</span></td>
                      </tr>
                      <tr>
                        <td height="30" align="right" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="5"><img src="resources/images//cj132.gif" /></td>
                            <td bgcolor="#D0E7CD" class="b18">大课间</td>
                            <td width="8"><img src="resources/images//cj131.gif" /></td>
                          </tr>
                        </table>
                        </td>
                        <td>应到
                          <input name="d3" value="<!--{$data.d3}-->"   type="text" class="b11" id="d3" size="10" />
                          <span class="b16">人</span></td>
                        <td>迟到
                          <input name="d4" value="<!--{$data.d4}-->"   type="text" class="b11" id="d4" size="10" />
                          <span class="b16">人</span></td>
                        <td>未到
                          <input name="d5" value="<!--{$data.d5}-->"   type="text" class="b11" id="d5" size="10" />
                          <span class="b16">人</span></td></tr>
                      <tr>
                        <td height="30" align="right" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="5"><img src="resources/images//cj132.gif" /></td>
                            <td bgcolor="#D0E7CD" class="b18">学生洗浴</td>
                            <td width="8"><img src="resources/images//cj131.gif" /></td>
                          </tr>
                        </table>
                        </td>
                        <td>男生
                          <input name="d6" value="<!--{$data.d6}-->"   type="text" class="b11" id="d6" size="10" />
                          <span class="b16">人</span></td>
                        <td>女生
                          <input name="d7" value="<!--{$data.d7}-->"   type="text" class="b11" id="d7" size="10" />
                          <span class="b16">人</span></td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td height="30" align="right" class="b07"><table border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="5"><img src="resources/images//cj132.gif" /></td>
                            <td bgcolor="#D0E7CD" class="b18">礼仪教育</td>
                            <td width="8"><img src="resources/images//cj131.gif" /></td>
                          </tr>
                        </table>
                        </td>
                        <td>主题
                          <input name="d8" value="<!--{$data.d8}-->"   type="text" class="b11" id="d8" size="10" /></td>
                        <td>教育目的                        
                          <select name="d9"  id="d9" class="b11">
                          	<!--{foreach from=$config01 item=one}-->
                            	 <option value="<!--{$one.value}-->" <!--{if $one.value==$data.d9}-->selected="selected"<!--{/if}-->><!--{$one.value}--></option>
                            <!--{/foreach}-->
                          </select>
                        </td>
                        <td>&nbsp;</td>
                      </tr>
                    </table>
                  </td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td><img src="resources/images//ke14.gif" width="864" height="5" /></td>
          </tr>
        </table>
        </form>
        <table width="45%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:10px auto 10px auto ">
          <tr>
            <td width="23%" height="30" align="center"><a href="#" class="submitForm"><img src="resources/images//ni.gif" width="66" height="19" /></a></td>
            <td width="23%" align="center"><a class="resetForm" style="cursor: pointer; cursor; hand\9;"><img src="resources/images//nii.gif" width="66" height="19" /></a></td>
          </tr>
        </table></td>
  </tr>
  <tr>
    <td><img src="resources/images//bgc03.gif" width="960" height="20" /></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="b04">
  <tr>
    <td height="80">&nbsp;</td>
  </tr>
</table>
</body>
</html>